package com.example.configuration.core;

public class ValueConversionException extends RuntimeException {

	private static final long serialVersionUID = 1L;
	
	private String value;
	private Class<?> targetType;

	public ValueConversionException(String value) {
		this.value = value;
	}

	public Class<?> getTargetType() {
		return targetType;
	}

	public String getValue() {
		return value;
	}

	@Override
	public String toString() {
		return "ValueConversionException [value=" + value + ", targetType=" + targetType + "]";
	}
}
